package com.guinea.account.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.guinea.core.web.BaseForm;

public class UserForm extends BaseForm {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7733846107316461483L;

	private Long id;
    private String originSystem;
    private Long originId;
    private String originCode;
    private String loginName;
    private String loginPassword;
    private String otherName;
	private String[] relativeRoleIds;
    
    public void reset(ActionMapping mapping, HttpServletRequest request){
		super.reset(mapping,request);
//		originSystem = new Integer(0);
	}
	
	public String[] getRelativeRoleIds() {
		return relativeRoleIds;
	}

	public void setRelativeRoleIds(String[] relativeRoleIds) {
		this.relativeRoleIds = relativeRoleIds;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOriginSystem() {
		return originSystem;
	}

	public void setOriginSystem(String originSystem) {
		this.originSystem = originSystem;
	}

	public Long getOriginId() {
		return originId;
	}

	public void setOriginId(Long originId) {
		this.originId = originId;
	}

	public String getOriginCode() {
		return originCode;
	}

	public void setOriginCode(String originCode) {
		this.originCode = originCode;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginPassword() {
		return loginPassword;
	}

	public void setLoginPassword(String loginPassword) {
		this.loginPassword = loginPassword;
	}

	public String getOtherName() {
		return otherName;
	}

	public void setOtherName(String otherName) {
		this.otherName = otherName;
	}

}
